﻿using System.Configuration;

namespace QQWeiBoSDK
{
    // Wrapper class to get/store user settings
    public static class SettingHelper
    {
        public static string QQToken
        {
            get { return Properties.Settings.Default.QQToken; }
            set { Properties.Settings.Default.QQToken = value; }
        }

        public static string QQTokenSecret
        {
            get { return Properties.Settings.Default.QQTokenSecret; }
            set { Properties.Settings.Default.QQTokenSecret = value; }
        }

        public static string MessageInvalidUserSettings {
            get { return "Unable to validate user settings"; }
        }

        public static string MessageNewTweets {
            get { return "New tweets have arrived"; }
        }

        public static string TweetyIconUriString {
            get { return "pack://application:,,,/WeiBee;component/Resources/PeaceDove.ico"; }
        }

        public static void Save() {
            Properties.Settings.Default.Save();
        }
    }
}
